import pickle

my_list = [12,1.0,"chen",[1,2,3]]
pickle_file = open('z://my_list.pkl','wb')
pickle.dumps(my_list,pickle_file)
pickle_file.close()
